<?php
namespace app\api\controller\tbk;
class User extends Base
{
    /**
    * 用户信息
    **/
    public function detail(){
        if(is_post()){
            $d = $this->post;
            $rule = [
                'uid'=>'require',
            ];
            $msg = [
            ];
            check($rule,$msg,$d);
            $info = $this->db->find('user', $d['uid']);
            $info['pic_wx_qrcode'] = pic($info['pic_wx_qrcode']);
            suc($info);
        }
    }
}
